import React, { useState } from 'react';
import { Button } from 'antd';
import FormC from './compontents/Form.jsx';
// import logo from './logo.svg';
import './App.css';

function App() {
  const [formD, setFormD] = useState({});
  const onFormLayoutChange = (value, allV) => {
    console.log('allV', formD);
  };

  return (
    <div className="App">
      <FormC onValuesChange={onFormLayoutChange} formD={formD}></FormC>
      <header className="App-header">
        hahahh测试黑cedjsfsdfdsjfsf但是
        {/* <img  className="App-logo" alt="logo" /> */}
        <p>
          Edit <code>src/App.tsx</code> and save to reload.
        </p>
        <Button type="primary">Button</Button>
        <a
          className="App-link"
          href="https://reactjs.org"
          target="_blank"
          rel="noopener noreferrer"
        >
          Learn React
        </a>
      </header>
    </div>
  );
}

export default App;
